﻿using StudySystem.MainLogic.Items;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StudySystem.MainLogic
{
    //用以记录当前用户的各种信息
    static class UserManagement
    {
        public static UserInformation user = null;
        public static DataSet ds = new DataSet();
        public static List<ClassSubject> subjects = null;
        public static List<List<ClassQuestion>> listQuestions = null;
        //public static DataAdapter subjectAda = null;
        //public static DataAdapter questionAda = null;

        public static void Clear()
        {
            user = null;
            ds.Tables.Clear();
            subjects = null;
            listQuestions = null;
            //subjectAda = null;
            //questionAda = null;
        }

    }
}
